package com.suray.wcs.service.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.suray.wcs.service.system.entity.OperationLogDB;
import com.suray.wcs.service.system.mapper.OperationLogDBMapper;
import com.suray.wcs.service.system.service.ISysLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author qingh
 */
@Service
public class SysLogServiceImpl extends ServiceImpl<OperationLogDBMapper, OperationLogDB> implements ISysLogService {
    @Autowired
    private OperationLogDBMapper operationLogdbMapper;

    @Override
    public void deleteSysLog(Integer days) {
        operationLogdbMapper.deleteSysLog(days);
    }

    @Override
    public void deleteSysOperLog(Integer days) {
        operationLogdbMapper.deleteSysOperLog(days);
    }
}
